<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/jsplib/pubhead.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>i友邻社区活动_${myfn:getPartyTitle(theForm.qryPartyID)}</title>
	<link href="${cpath}/css/youlin.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<!--外套 start -->
<div class="wrap">
  <!--页首 start -->
	<%@ include file="/menu.jsp"%>
  <!--页首 end -->  
  
  <!--导航面包屑 start -->
  <div class="breadCrumb">
  <div class="breadCrumbNav">当前位置：<a href="${cpath}/users.do?action=main">我的主页</a> >> <a href="${cpath}/group_get/groupID_${theForm.qryGroupID}.html">部落</a> >> <a href="${cpath}/gparty.do?action=adlist&qryGroupID=${theForm.qryGroupID}">活动</a></div>
	<%@ include file="/navf.jsp"%> 
 </div> 
  <!--导航面包屑 end -->
  
  <!--主体 start -->
 <div class="body">
 
  <div class="hotBox1">  
    <div class="hotBox1-left">
      <a href="${cpath}/gparty_info/partyID_${theForm.qryPartyID}.html"><img src="${cpath}/${myfn:getPartySmallPic(theForm.qryPartyID)}"  width="102" height="75"></a>
      <p class="nav"><a href="${cpath}/gparty_info/partyID_${theForm.qryPartyID}.html">${myfn:getPartyTitle(theForm.qryPartyID)}</a></p>
      </div>
    <div class="hotBox1-right">
      <p><a href="javascript:history.go(-1);"><img src="${cpath}/images/icon_32.gif" width="137" height="25" /></a></p>
    </div>
  </div> 

 <div class="left-Box6">
  <h3>${myfn:getPartyTitle(theForm.qryPartyID)}活动报名会员</h3>
  <div class="left-Box6-content">
   <div class="left-Box6-content-inner">
     <div class="left-Box7">
        <p class="left-Box7-top2">所有报名会员<span class="more3">&nbsp;</span></p>
        <div class="left-Box7-content left-Box7-bm">
		<ul>
		<c:forEach var="signup" items="${signuplist}" varStatus="status"> 
        <li>
          <p><a href="${cpath}/users_home/userID_${signup.userID}.html"><img class="user_icon_1" src="${cpath}/${myfn:getUserPic(signup.userID)}" width="51" height="51" /></a></p>
          <p>${myfn:getUserNick(signup.userID)}</p>
		  <c:if test="${signup.userID == userID }">
			<p class='info'><a href="${cpath}/gsignup.do?action=delete&qryGroupID=${theForm.qryGroupID}&partyID=${theForm.qryPartyID}&userID=${signup.userID}">取消</a></p>
		  </c:if>
        </li>
		</c:forEach>
        </ul>      
        <div class="clearFloat"></div>
        </div>
     </div>
  </div>        
  <div class="clearFloat"></div>
  </div>
</div>
  
    <div class="clearFloat"></div>
 </div> 
 <!--主体 end -->
 
 
 <!--页脚 start -->
	<%@ include file="/foot.jsp"%>
 <!--页脚 end --> 
</div>
<!--外套 end -->

</body>
</html>
<SCRIPT>

	function disdp(type)
	{

		document.getElementById('dianping').style.display = "";

		var form = document.theForm;
		form['dcont'].focus();

		var dtype = form['dtype'];
		dtype.value = type;
		var dcont = form['dcont'];

		if(type == "1"){
			dcont.value = "不错！！！！";
		}else{
			dcont.value = "很差！！！！";		
		}
	}

	function doConfirm()
	{
		var userID = "${userID}";
		if(userID == '' ){
			alert('请登录网站');
			window.location.href ="${cpath}/index.jsp";
			return false;
		}
		var form = document.theForm;

		var dcont = form['dcont'];
		if(dcont.value == null||dcont.value.replace(/(^\s*)|(\s*$)/g,"").length < 1)
  		{
			alert('内容不能为空');
			dcont.select();
			return ;
		}
		if(dcont.value.replace(/(^\s*)|(\s*$)/g,"").length > 2000)
  		{
			alert('内容长度不能大于200');
			dcont.select();
			return ;
		}
		form.submit();
	}

</SCRIPT>